<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
</head>
<body>

    <head th:fragment="fgHeader">
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <link rel="stylesheet" type="text/css" th:href="@{/plugins/bootstrap/css/bootstrap.css}"/>
        <link rel="stylesheet" href="https://unpkg.com/bootstrap-table@1.14.1/dist/bootstrap-table.min.css">
        <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
        <link rel="stylesheet" type="text/css" th:href="@{/plugins/datetimepicker/bootstrap-datetimepicker.min.css}"/>
        <link rel="stylesheet" type="text/css" th:href="@{/css/scrollUp.css}"/>
        <link rel="stylesheet" type="text/css" th:href="@{/css/doc.css}"/>
        <link rel="stylesheet" type="text/css" th:href="@{/css/bootIndex.css}"/>
    </head>

    <div th:fragment="fgScript">
        <script th:src="@{/plugins/jquery/jquery.min.js}" type="text/javascript" charset="utf-8"></script>
        <script th:src="@{/plugins/bootstrap/js/bootstrap.js}" type="text/javascript" charset="utf-8"></script>
        <script src="https://unpkg.com/bootstrap-table@1.14.1/dist/bootstrap-table.min.js"></script>
        <script th:src="@{/plugins/datetimepicker/bootstrap-datetimepicker.min.js}" type="text/javascript" charset="utf-8"></script>
        <script th:src="@{/plugins/datetimepicker/bootstrap-datetimepicker.zh-CN.js}" type="text/javascript" charset="utf-8"></script>
        <script src="https://unpkg.com/bootstrap-table@1.14.1/dist/extensions/filter-control/bootstrap-table-filter-control.min.js"></script>
    </div>

    <div th:fragment="fgNav">
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                        data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="/v1/bootIndex">SongBoot</a>
            </div>
            <div id="navbar" class="collapse navbar-collapse">
                <!-- 左侧  -->
                <ul class="nav navbar-nav">
                    <li><a href="/v1/index">后台首页</a></li>
                    <li><a href="/v1/topic/topics">主题列表</a></li>
                    <li><a href="#">文档中心</a></li>
                    <li><a href="#">用户中心</a></li>
                </ul>
                <!-- 右侧-->
                <!--<ul class="nav navbar-nav navbar-right">
                    {% if user.is_authenticated %}
                    <li>
                        <a> Hello,{{ user.username }}</a>
                </li>
                <li>
                    <a href="{% url 'users:logout' %}">退出</a>
                </li>
                {% else %}
                <li>
                    <a href="{% url 'users:login' %}"> 登录 </a>
                </li>
                {% endif %}
                </ul>-->
            </div>
        </div>
    </div>
</div>

    <div th:fragment="fgFooter">
        <footer class="footer">
            <div class="container">
                <hr>
                <div class="row footer-top">
                    <div class="col-md-6 col-lg-6">
                        <h4>
                            致力于为广大开发者提供更多的优质技术文档和辅助开发工具!
                        </h4>
                    </div>
                    <div class="col-md-6 col-lg-5 col-lg-offset-1">
                        <div class="row">
                            <div class="col-sm-4">
                                <h4>关于</h4>
                                <ul class="list-unstyled">
                                    <li><a href="#">关于我们</a></li>
                                    <li><a href="#">友情链接</a></li>
                                </ul>
                            </div>
                            <div class="col-sm-4">
                                <h4>联系方式</h4>
                                <ul class="list-unstyled">
                                    <li><a href="https://gitee.com/songlvjun">码云联系我</a></li>
                                    <li><a href="https://blog.csdn.net/qq_34579060">CSDN联系我</a></li>
                                </ul>
                            </div>
                            <div class="col-sm-4">
                                <h4>技术相关</h4>
                                <ul class="list-unstyled">
                                    <li><a href="http://www.bootcss.com/" target="_blank">Bootstrap中文网</a></li>
                                    <li><a href="https://www.djangoproject.com/" target="_blank">Django</a></li>
                                    <li><a href="https://www.python.org/" target="_blank">python官网</a></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                <hr>
                <div class="row footer-bottom">
                    <ul class="list-inline text-center">
                        <li>@ copyright by song 2019</li>
                        <li>
                            <a href="https://gitee.com/songlvjun/SongBoot">码云地址</a>
                        </li>
                    </ul>
                </div>
            </div>
        </footer>
    </div>

    <div th:fragment="fgScrollUp">
        <script src="https://cdn.jsdelivr.net/gh/markgoodyear/scrollup@2.4.1/dist/jquery.scrollUp.min.js"></script>
        <a id="scrollUp" href="#top" style="position: fixed; z-index: 2147483647;display:none;">
            <i class="fa fa-angle-up"></i>
        </a>
    </div>

</body>
</html>